﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Windows.Forms.Design;

namespace SmartDesktop
{
    [ToolStripItemDesignerAvailability(ToolStripItemDesignerAvailability.MenuStrip |
                                       ToolStripItemDesignerAvailability.ContextMenuStrip |
                                       ToolStripItemDesignerAvailability.StatusStrip)]

    public class StatusStripButton : MyToolStripControlHost
    {
        private Button btn;

        public StatusStripButton()
            : base(new Button())
        {
            this.btn = this.Control as Button;
        }
    }

    public class MyToolStripControlHost : ToolStripControlHost
    {
        public MyToolStripControlHost()
            : base(new Control())
        {
        }
        public MyToolStripControlHost(Control c)
            : base(c)
        {
        }
    }
}
